<?php /* Smarty version 2.6.26, created on 2013-10-14 16:09:39
         compiled from news_create.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'html_options', 'news_create.tpl', 29, false),)), $this); ?>
<div class="box">
  <div class="box-content">
	  <form method="post" enctype="multipart/form-data">
	  <table class="table table-striped table-hover">
	  <tbody>
	  <tr>
	    <td width="140">Tiêu đề</td>
	    <td><input type="text" class="input-text" name="news_title" /></td>
	  </tr>
	  <tr>
	    <td>Hình ảnh</td>
	    <td>
	      <input type="file" class="input-text" name="news_thumb" />
	    </td>
	  </tr>	  
	  <tr>
	    <td>Video youtube</td>
	    <td>
	      <input type="text" class="input-text" name="news_youtube_url" />
	    </td>
	  </tr>
	  <tr>
	    <td>Mô tả ngắn</td>
	    <td><textarea name="news_desc" rows="5"></textarea></td>
	  </tr>
	  <tr>
	    <td>Danh mục</td>
	    <td>
	      <?php echo smarty_function_html_options(array('name' => 'news_cat_id','options' => $this->_tpl_vars['aCat']), $this);?>

	    </td>
	  </tr>
	  <tr>
	    <th colspan="2">Nội dung</th>
	  </tr>
	  <tr>
	    <td colspan="2"><textarea class="ckeditor" name="news_content"></textarea></td>
	  </tr>
		<tr>
			<td>Slideshow</td>
			<td><div class="plupload"></div></td>
		</tr> 
	  <tr>
	    <td>Hiển thị trang chính</td>
	    <td>
	      <input type="radio" value="1" name="news_ismain" id="news_ismain_on" checked="checked" /> <label for="news_ismain_on">Có</label> &nbsp; &nbsp; &nbsp;
	      <input type="radio" value="0" name="news_ismain" id="news_ismain_off" /> <label for="news_ismain_off">Không</label>
	    </td>
	  </tr>
	  <tr>
	    <td>Trạng thái</td>
	    <td>
	    	<input type="radio" value="1" name="news_publish" id="news_enabled_on" checked="checked" /> <label for="news_enabled_on">Xuất bản</label>  &nbsp; &nbsp; &nbsp;
	      <input type="radio" value="0" name="news_publish" id="news_enabled_off" /> <label for="news_enabled_off">Bản nháp</label>
	      
	    </td>
	  </tr>
	  <tr>
	    <td colspan="2" align="center"><input class="input-submit" type="submit" value="Gửi đi" /></td>
	  </tr>
	  </tbody>
	  </table>
	  </form>
  </div>
</div>